package io.geekidea.boot.chargeback.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.geekidea.boot.chargeback.dto.ChargeBackExcel;
import io.geekidea.boot.chargeback.entity.ChargeBack;
import io.geekidea.boot.chargeback.query.ChargeBackQuery;
import io.geekidea.boot.chargeback.vo.ChargeBackVo;
import io.geekidea.boot.inventorychange.query.StoreChangeQuery;
import io.geekidea.boot.otherstores.query.total;

import java.util.List;

public interface ChargeBackService extends IService<ChargeBack> {

    /**
     * 退单管理分页列表
     * @param chargeBackQuery
     * @return
     * @throws Exception
     */
    List<ChargeBack> chargeBackLick(ChargeBackQuery chargeBackQuery) throws Exception;

    /**
     * 分页
     * @param chargeBackQuery
     * @return
     * @throws Exception
     */
    total getTotal(ChargeBackQuery chargeBackQuery) throws Exception;

//    boolean addChargeById(ChargeBack chargeBack) throws  Exception;

    List<ChargeBackExcel> DownloadList(ChargeBackQuery chargeBackQuery);
}
